package org.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.ExamEntity;

import java.util.List;
import java.util.Map;

public interface ExamTypeService extends IService<ExamEntity> {

    List<ExamEntity> getAllExams();
    ExamEntity getExamById(int examId);
    boolean addExam(ExamEntity exam);
    boolean updateExam(ExamEntity exam);
    boolean deleteExamById(int examId);
    //
    IPage<ExamEntity> queryPage(Map<String, Object> params);
}
